package com.vhall.component.entity.interactive.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 问卷推屏
 *
 * @author yongzheng.xu
 * @date 2021/5/12 15:13
 */
@Data
public class QuestionPushReqVo implements Serializable {

    @NotNull(message = "参数错误")
    @ParamName("question_id")
    private Integer questionId;


    @NotBlank(message = "参数错误")
    @ParamName("room_id")
    private String roomId;


    @NotNull(message = "参数错误")
    @ParamName("account_id")
    private Integer accountId;


    @NotBlank(message = "参数错误")
    @ParamName("from")
    private String from;

}
